﻿import clr
clr.AddReference("System.Windows.Forms")
clr.AddReference("System.Drawing")
clr.AddReference("System.Net")

from System import *
from System.Windows.Forms import *
from System.Drawing import *
from System.Net import *
from System.Net.Sockets import *

def server_is_running(host, port):
   #s = Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
   #s.Connect("70.84.59.180", 443)
   # Need to wait till a server crashes again to fix. 
   pass


tab = TabPage()
tab.Text = "ServerStatus"
tab.Name = "ServerStatus"
#g["MainWindow"].Controls["ContentTabs"].Controls.Add(tab)


